INCLUDE_DIRECTORIES(..)
LINK_DIRECTORIES(${PROJECT_SOURCE_DIR}/bin_test/lib)
set(SRC_LIST main.cc depth_peeling_demo.cc)
#set(LIB_LIST common.lib geometry.lib glh.lib ui.lib graphics.lib materials.lib
#  shapes.lib tools.lib glew32.lib DevIL.lib)
# !!!! I wonder why it have to be in reverse sequence
if (WIN32)
  set(_3RD_LIBS glu32 glut32 devil glew32 ilu)
else ()
  set(_3RD_LIBS GLU glut GLEW IL ILU)
endif (WIN32)

set(LIB_LIST ui glh graphics materials shapes tools geometry common ${_3RD_LIBS})
ADD_EXECUTABLE(depth_peeling_demo ${SRC_LIST})
TARGET_LINK_LIBRARIES(depth_peeling_demo ${LIB_LIST})
